package cn.gs.serializable.entity;

// @author gs
import cn.gs.util.set.ObjRef;
import cn.gs.util.stream.TokenReader;
import java.io.IOException;
import java.io.Writer;

public interface IEntity {

    boolean read(EntityController ctrl, TokenReader reader) throws IOException;

    void write(EntityController ctrl, Writer writer) throws IOException;
    
     String toString(String prefix);
}
